package com.health.db.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.health.db.model.DepartmentList;
import com.health.db.model.DepartmentListExample;
import com.health.db.model.DepartmentListTemp;

public interface DepartmentListMapper {
    int countByExample(DepartmentListExample example);

    int deleteByExample(DepartmentListExample example);

    int deleteByPrimaryKey(Long recid);

    int insert(DepartmentList record);

    int insertSelective(DepartmentList record);

    List<DepartmentList> selectByExample(DepartmentListExample example);

    DepartmentList selectByPrimaryKey(Long recid);

    int updateByExampleSelective(@Param("record") DepartmentList record, @Param("example") DepartmentListExample example);

    int updateByExample(@Param("record") DepartmentList record, @Param("example") DepartmentListExample example);

    int updateByPrimaryKeySelective(DepartmentList record);

    int updateByPrimaryKey(DepartmentList record);
    
    List<DepartmentListTemp> selectSimpleForInit();
}